
var app = getApp();
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    list: {
      type: Array,
    },
    indexNum: {
      type: Number,
      value: 0,
    },
    payment: {
      type: Number
    },
    payName: {
      type: String,
      value: ''
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    //发送操作请求
    payClose(e) {
      console.log('coupon组件touseEvent1');
      let index = e.detail.value;
      this.triggerEvent('payClose', { index });
    },
  }
})